//
//  EDSPublishDynamicImageVideoView.h
//  DriveSchoolCoach
//
//  Created by TangBin on 2019/7/30.
//  Copyright © 2019 TangBin. All rights reserved.
//

#import "TYZBaseView.h"
#import "EDSPublishDynamicImageView.h"

NS_ASSUME_NONNULL_BEGIN

/**
 图片或则视频
 */
@interface EDSPublishDynamicImageVideoView : TYZBaseView

- (instancetype)initWithFrame:(CGRect)frame imageVideoNum:(NSInteger)imageVideoNum imageWidth:(float)imageWidth imageHeight:(float)imageHeight;

@property (nonatomic, strong, readonly) UIButton *btnAddImage; ///< 添加图片
@property (nonatomic, assign, readonly) CGRect btnAddImageSrcRect; ///< 最初的位置
@property (nonatomic, strong, readonly) NSMutableArray *imageList; ///< 图片数组
@property (nonatomic, strong, readonly) UIImageView *videoImgView; ///< 视图第一帧的图片
@property (nonatomic, strong, readonly) UIImageView *playImgView; ///< 视频标记
@property (nonatomic, copy) void(^touchVideoImgViewblock)(void); ///< 点击视频图片
@property (nonatomic, copy) void(^deleteImageBlock)(NSInteger index); ///< 删除图片
@end

NS_ASSUME_NONNULL_END
